package com.sanyang.lawyer.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @program: lawyer
 * @description: 发件实体类
 * @author: Mr.Wang
 * @create: 2019-10-11 08:41
 **/

@Data
@ToString
public class Adm_Dispatch {

    private int dispatchId;        //发件主键id
    private Hr_emp empId;            //用户外键id（发件人
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date taketime;          //发件时间
    private Adm_Espress_Company companyId;         //快递公司id
    private Adm_Espress espressId;         //快递类型id
    private Hr_emp lempId;           //用户外键id（代发人
    private Case_law caseId;         //案件id (外键
    private String numbers;         //快递单号
    private int cost;               //快递费用
    private String recipients;      //收件人
    private String addressee;       //收件单位
    private String site;            //收件地址
    private int phone;              //联系电话
    private String remark;          //发件备注



}
